import {BrowserModule} from '@angular/platform-browser';
import {NgModule} from '@angular/core';
import {FormsModule} from '@angular/forms';
import {AppComponent} from './app.component';

import {MessageComponent} from './message/message.component';
import {UserComponent} from './user/user.component';
import {LoginFormComponent} from './login/login-form.component';
import  {ChatService} from  './service/chat.service';
import  {LSService} from  './service/localStorage.service';
import  {UserService} from  './service/user.service';
import {HighlightDirective} from './directive/highlight.directive';

@NgModule({
    declarations: [
        AppComponent,

        MessageComponent,
        UserComponent,
        LoginFormComponent,
        HighlightDirective
    ],
    imports: [
        BrowserModule,
        FormsModule
    ],
    providers: [
        ChatService,
        LSService,
        UserService
    ],
    bootstrap: [AppComponent]
})


export class AppModule {
    //username = 'semlinker';
}
